package com.rich.paas.domain.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 公司DTO
 * </p>
 *
 * @author 陈浩
 * @since 2018-06-10
 */
public class CompanyDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 公司名称
     */
    private String name;
    /**
     * 手机号也是登录帐号
     */
    @ApiModelProperty(value = "手机号也是登录帐号")
    private String phone;
    /**
     * 密码(md5加密)
     */
    @ApiModelProperty(value = "密码")
    private String loginPassword;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * sessionId
     */
    private String sessionId;

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Company{" +
                ", id=" + id +
                ", name=" + name +
                ", phone=" + phone +
                ", loginPassword=" + loginPassword +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                "}";
    }
}
